import request from '@/utils/request'

// 查询户表开关阀日志列表
export function listXbCommandLogs(query) {
    return request({
        url: '/basedata/xbCommandLogs/list',
        method: 'get',
        params: query
    })
}

// 查询户表开关阀日志详细
export function getXbCommandLogs(id) {
    return request({
        url: '/basedata/xbCommandLogs/' + id,
        method: 'get'
    })
}

// 新增户表开关阀日志
export function addXbCommandLogs(data) {
    return request({
        url: '/basedata/xbCommandLogs',
        method: 'post',
        data: data
    })
}

// 修改户表开关阀日志
export function updateXbCommandLogs(data) {
    return request({
        url: '/basedata/xbCommandLogs',
        method: 'put',
        data: data
    })
}

// 删除户表开关阀日志
export function delXbCommandLogs(id) {
    return request({
        url: '/basedata/xbCommandLogs/' + id,
        method: 'delete'
    })
}
